package com.zhiyou100.day1029springbooot.service;

import com.zhiyou100.day1029springbooot.pojo.Teacher;


import java.util.List;

public interface ITeacherService {
    public List<Teacher> queryAll();
    public  void  add(Teacher teacher);
    public void deleteById(int id);
    Teacher findById(int id);
    int update(Teacher teacher);
}
